﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Psl.Applications;
using System.Windows.Forms;

namespace Stl.Chat.Services.Plugin
{
    /// <summary>
    /// Germe d'installation du plugin ChatServices.
    /// </summary>
    [PslPluginInstaller]
    class ChatServicesPlugin
    {
        /// <summary>
        /// Méthode d'installation du plugin.
        /// </summary>
        public static void Install()
        {
            UserControl msgGenerator = new ChatMsgGenerator();
            Registry.MainContent.Controls.Add(msgGenerator);
            msgGenerator.Dock = DockStyle.Fill;

            UserControl statistic = new ChatStatistic();
            Registry.MainContent.Controls.Add(statistic);
            statistic.Dock = DockStyle.Top;


        }
    }
}
